package com.bw.ivideo.appversion.model.service

import com.bw.ivideo.appversion.model.api.ApiVersion
import com.bw.ivideo.appversion.model.entity.AppVersionEntity
import com.bw.lib_net.RetrofitManager
import com.bw.lib_net.entity.ResponseEntity
import retrofit2.http.Body

/**
 * @Author : ZhouZiYao
 * @Time : On 2023/11/28 11:15
 * @Description :
 */
class AppVersionService {

    private val apiVersion by lazy {
        RetrofitManager.instance.createService(ApiVersion::class.java)
    }

    suspend fun versionConfigurationUpdate(map: MutableMap<String, String>): ResponseEntity<AppVersionEntity>{
        return apiVersion.versionConfigurationUpdate(map)
    }

}